﻿using B.S.DataBase.SuYuan.Domains.Entites;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.SuYuan.Infrastructure
{
    /// <summary>
    /// 数据上下文
    /// </summary>
    public class SCDBContext : DbContext
    {
        public SCDBContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<companyModel> Company { get; set; }    
        public DbSet<FarmsModel> Farms { get; set; }
        public DbSet<HealthModel> Health { get; set; }

        public DbSet<Imgs> Imgs { get; set; }

        public DbSet<ProcessModel> Processs { get; set; }

        public DbSet<ShopInfoModel> Shop { get; set; }

        public DbSet<ShopTypeModel> ShopTypes { get; set; } 

        public DbSet<SlaughterModel> Slaughters { get; set; }   

        public DbSet<SupplierModel> Suppliers { get; set; }





    }
}
